<?php
namespace Android\Model;

class AppconfigModel extends BaseModel {


    /**
     * 根据关键字获取指定配置值
     * @param $varname
     * @return bool|mixed
     */
    public function get($varname) {
        return $this->where("varname = '{$varname}'")->getField('value');

    }


}